More documentation additions
authorMatthias Clasen <mclasen@redhat.com>
Tue, 26 Dec 2017 16:34:18 +0000 (11:34 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 26 Dec 2017 18:00:27 +0000 (13:00 -0500)
gdk/gdkapplaunchcontext.c
gdk/gdktypes.h

index 44d0d5203bfd5d2d63641253a6cddfb27c69822d..68acd7fa6c4a02d7cb4f79e9298502846c5b5b62 100644 (file)
  * ]|
  */
 
+/**
+ * GdkAppLaunchContext:
+ *
+ * The GdkAppLaunchContext struct contains only private fields
+ * and should not be accessed directly.
+ */
 
 static void    gdk_app_launch_context_finalize    (GObject           *object);
 static gchar * gdk_app_launch_context_get_display (GAppLaunchContext *context,
index d77094a2ad932179a64d0e2207a5c7e7415af287..4351302c7fe852aa8582c9f302a1faee0844b625 100644 (file)
 G_BEGIN_DECLS
 
 
-/* Type definitions for the basic structures.
+/**
+ * GdkPoint:
+ * @x: the x coordinate of the point
+ * @y: the y coordinate of the point
+ *
+ * Defines the x and y coordinates of a point.
  */
+struct _GdkPoint
+{
+  gint x;
+  gint y;
+};
 typedef struct _GdkPoint              GdkPoint;
 
 /**
  * GdkRectangle:
+ * @x: the x coordinate of the top left corner
+ * @y: the y coordinate of the top left corner
+ * @width: the width of the rectangle
+ * @height: the height of the rectangle
  *
  * Defines the position and size of a rectangle. It is identical to
  * #cairo_rectangle_int_t.
@@ -419,19 +433,6 @@ typedef enum
   GDK_ALL_EVENTS_MASK           = 0x3FFFFFE
 } GdkEventMask;
 
-/**
- * GdkPoint:
- * @x: the x coordinate of the point.
- * @y: the y coordinate of the point.
- *
- * Defines the x and y coordinates of a point.
- */
-struct _GdkPoint
-{
-  gint x;
-  gint y;
-};
-
 /**
  * GdkGLError:
  * @GDK_GL_ERROR_NOT_AVAILABLE: OpenGL support is not available